package com.briup.product_source.dao;

import com.briup.product_source.pojo.ManagerAnimal;
import org.springframework.stereotype.Repository;

import java.util.Map;

@Repository
public interface ManagerAnimalMapper {

    ManagerAnimal selectByPrimaryKey(String drAnimalId);

    int updateAHealthyByAAnimalId(String aHealthy, String drAnimalId);

    int insert(ManagerAnimal animal);

    int updateByPrimaryKey(ManagerAnimal animal);

    int deleteById(String id);

    Map<String, Integer> countWeight();

}